package com.szit.util.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 后台操作数据接收实体
 * @author wyler
 * @date 2020-10-15
 */
@Data
public class DeviceUserInfo {

    /**
     * token
     */
    @ApiModelProperty(name = "token",value = "token",dataType = "String",required = true)
    private String token;

    /**
     * 主键id
     */
    @ApiModelProperty(name = "id",value = "id",dataType = "int",required = false)
    private Integer id;

    /**
     * 用户名
     */
    @ApiModelProperty(name = "username",value = "用户名",dataType = "String",required = false)
    private String username;

    /**
     * 密码
     */
    @ApiModelProperty(name = "password",value = "密码",dataType = "String",required = false)
    private String password;


    /**
     * 授权码
     */
    @ApiModelProperty(name = "authorizationcode",value = "授权码",dataType = "String",required = false)
    private String authorizationcode;

    /**
     * 有效期
     */
    @ApiModelProperty(name = "validity",value = "有效期",dataType = "Long",required = false)
    private Long validity;

    /**
     * 是否过期 0无 1已过期 2未过期
     */
    @ApiModelProperty(name = "state",value = "是否过期 0无 1已过期 2未过期",dataType = "int",required = false)
    private Integer state;



}